
$(function () {
    BootstrapTableUtil.initTableDataByServer("/bflow/gtasks/list");



})


function statusFormatter(value, row, index){
    return '<label class="label label-success">待处理</label>';
}

function operationFormatter(value, row, index){
    var str='<a href="#" onclick="drawBoardView(\''+row.instanceId+'\')" class="btn btn-primary btn-xs" style="margin-left: 5px">查看画板</a>';
    str+='<a href="#" onclick="process(\''+row.instanceId+'\')" class="btn btn-primary btn-xs" style="margin-left: 5px">处理流程</a>';
    return  str;
}

function drawBoardView(id){
    window.location.href="/static/bflow/ui/drawBoard/drawView.html?instansceId="+id;
}

function process() {

}


